package mule.model;

//<editor-fold defaultstate="collapsed" desc="Imports">

import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.scene.image.Image;

//</editor-fold>

/**
 * A child of the Tile abstract class that cannot be purchased and does not 
 * produce.
 * @author stephen
 */
public class TownTile extends Tile
{
    //<editor-fold defaultstate="collapsed" desc="Constructor">

    /**
     * Constructs a town tile that players cannot buy and that has no production
     */
    public TownTile()
    {
        super.canPurchase = new SimpleBooleanProperty( false );
        super.foodProduction = new SimpleIntegerProperty( 0 );
        super.energyProduction = new SimpleIntegerProperty( 0 );
        super.oreProduction = new SimpleIntegerProperty( 0 );
        super.name = new SimpleStringProperty( "town" );
        super.image = new Image( "mule/model/images/town_tile.png" );
    }

    //</editor-fold>


    //<editor-fold defaultstate="collapsed" desc="Getters and Setters">

    /**
     * Returns the image for the town tile
     * 
     * @return the image to display to the user
     */
    public Image getImage()
    {
        return image;
    }

    //</editor-fold>
}
